Increase default console ring allocation size and reduce default verbosity
authorKeir Fraser <keir.fraser@citrix.com>
Wed, 17 Mar 2010 08:34:16 +0000 (08:34 +0000)
committerKeir Fraser <keir.fraser@citrix.com>
Wed, 17 Mar 2010 08:34:16 +0000 (08:34 +0000)
commit35d60c59af284262ae011c7e52bd9927788fb47a
treec552fc85f6cecaab468953a9c8fc5727a75328b9
parenta7e7bb6199d2d9e81b0097dcbd3edac1fb886d24
Increase default console ring allocation size and reduce default verbosity

In order to have better chance that relevant messages fit into the
ring buffer, allocate a dynamic (larger) one in more cases, and make
the default allocation size depend on both the number of CPUs and the
log level. Also free the static buffer if a dynamic one was obtained.

In order for "xm dmesg" to retrieve larger buffers, eliminate
pyxc_readconsolering()'s 32k limitation resulting from the use of a
statically allocated buffer.

Finally, suppress on x86 most per-CPU boot time messages (by default,
most of them can be re-enabled with a new command line option
"cpuinfo", some others are now only printed more than once when there
are inconsistencies between CPUs). This reduces both boot time (namely
when a graphical console is in use) and pressure on the console ring
and serial transmit buffers.

Signed-off-by: Jan Beulich <jbeulich@novell.com>
16 files changed:
tools/python/xen/lowlevel/xc/xc.c
xen/arch/ia64/xen/xen.lds.S
xen/arch/x86/cpu/amd.c
xen/arch/x86/cpu/common.c
xen/arch/x86/cpu/intel_cacheinfo.c
xen/arch/x86/cpu/mcheck/amd_f10.c
xen/arch/x86/cpu/mcheck/amd_k8.c
xen/arch/x86/cpu/mcheck/k7.c
xen/arch/x86/cpu/mcheck/mce.c
xen/arch/x86/cpu/mcheck/mce.h
xen/arch/x86/cpu/mcheck/mce_intel.c
xen/arch/x86/hvm/asid.c
xen/arch/x86/setup.c
xen/arch/x86/smpboot.c
xen/drivers/char/console.c
xen/include/asm-x86/processor.h